﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqlPerfomance.V2.WpfClient.Models
{
	public class BaseTreeViewNode
	{
		public BaseTreeViewNode() { }

		public BaseTreeViewNode(int id, long parent_id, string name)
		{
			Id = id;
			Parent_Id = parent_id;
			Name = name;
			this.Children = new ObservableCollection<BaseTreeViewNode>();
		}

		public int Id { get; set; }
		public long Parent_Id { get; set; }
		public string Name { get; set; }

		public ObservableCollection<BaseTreeViewNode> Children { get; set; }
	}
}
